var redis = require('redis');



var config = {
    port : 6379,
    host : "aliyun327.kuick.cn",
    auth_pass : "dd14f29806334c33:dmsRedis1234",
    db: 3
}



var myRedis = redis.createClient(config.port, config.host, config);
myRedis.select(2);

myRedis.get("user:1" ,function (err, value){
    console.log(JSON.stringify(value));
});

myRedis.get("conferenceModule:1535", function(err, value){
    console.log(value);
});

var value = "test redis set method";
myRedis.set("user:2", value, function(err, result){
    console.log(result);
})























































